﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThridGroup.ERP.DTO.ProductionSystem;

namespace ThridGroup.ERP.ProductionSystem
{ 
    /// <summary>
    /// 排班日历接口
    /// </summary>
    public interface IShiftScheduleService 
    {
        /// <summary>
        /// 获取某月排班数据
        /// </summary>
        Task<List<ShiftScheduleDto>> GetShiftSchedules(int year, int month, string equipmentTypeCode, string teamNumber);

        /// <summary>
        /// 保存或更新排班
        /// </summary>
        Task SaveShiftSchedule(ShiftScheduleDto dto);
    }
}
